package com.building_msmart.ulti;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class myUlti {
	public Date parseDate(String date, String format) throws ParseException
	{
	    SimpleDateFormat formatter = new SimpleDateFormat(format);
	    return formatter.parse(date);
	}
}
